Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 3 - Geometric Styles / Geometric Styles Reference
Constants and Data Types


Cap Attributes

Each cap structure contains a set of flags that modify the way a shape is capped. These constants are defined in the gxCapAttributes enumeration:

enum gxCapAttributes {
   gxLevelStartCap= 0x0001;
   gxLevelEndCap  = 0x0002;
};
typedef long gxCapAttribute;
Constant descriptions

gxLevelStartCap
Suppresses rotation of the start cap shape. When you set this flag, QuickDraw GX does not rotate the start cap shape to match the slope of the capped contour. Instead, QuickDraw GX places the start cap shape onto the start of the capped contour with the exact orientation specified by the start cap shape's geometry.
gxLevelEndCap
Suppresses rotation of the end cap shape. When you set this flag, QuickDraw GX does not rotate the end cap shape to match the slope of the capped contour. Instead, QuickDraw GX places the end cap shape onto the start of the capped contour with the exact orientation specified by the end cap shape's geometry.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help